HCaptcha\Settings\Integrations D

Total Complexity 144
Dependencies 10
Dependents 3
Total lines 1,917
Lines of code 1,286
Logical lines of code 339
Comment lines 327
Methods 42
Properties 5

Methods 42

Method Rating Maintainability Complexity Lines of code
init_form_fields()
D
16
1 576
setup_fields()
A
47 10 32
prepare_antispam_data()
A
53 10 22
install_entity()
A
50 9 30
process_theme()
A
44 7 48
process_plugins()
A
44 6 53
plugin_names_from_tree()
S
52 7 25
plugin_or_theme_installed()
S
56 7 20
activate()
S
50 6 26
filter_activate_plugins()
S
53 6 24
install_theme()
S
49 5 32
install_plugin()
S
49 5 31
sort_fields()
S
56 4 19
maybe_activate_plugin()
S
59 4 17
activate_theme()
S
58 4 17
activate_plugins()
S
58 4 16
activate_plugin_tree()
S
61 4 13
plugin_dirs_to_slugs()
S
60 4 13
section_callback()
S
48 2 42
format_form_antispam_helpers()
S
53 3 24
logo()
S
53 3 22
admin_enqueue_scripts()
S
44 1 50
build_plugins_tree()
S
59 3 15
get_plugin_data()
S
65 3 9
init()
S
67 2 8
after_switch_theme_action()
S
65 2 9
activate_plugin()
S
74 2 4
plugin_names_from_trees()
S
68 2 7
deactivate_plugins()
S
74 2 4
json_data()
S
64 2 9
get_activation_stati()
S
68 2 7
get_default_theme()
S
75 2 4
get_themes()
S
64 1 11
page_title()
S
79 1 3
section_title()
S
82 1 3
init_hooks()
S
67 1 7
search_box()
S
68 1 10
plugin_dependencies()
S
64 1 9
send_json_success()
S
80 1 3
send_json_error()
S
80 1 3
get_plugin_file()
S
79 1 3
prepare_form_field_antispam_data()
S
70 1 6